#!/bin/bash

E=e1
curr=$(pwd)

cd mips
make -Bf Makefile.archc distclean
/home/lucas/mc723/archc/bin/acsim mips1.ac -abi
#sed -i  's/OTHER :=   -Wno-deprecated/OTHER :=   -Wno-deprecated -std=c++0x/g'
make -f Makefile.archc
cd ${curr}
cd ${E}
bash run.sh
